package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * 商品详情表
 * @TableName tb_prod_info
 */
@TableName(value ="tb_prod_info")
@Data
public class TbProdInfo implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer infoId;

    /**
     * 商品SKU
     */
    private String prodSku;

    /**
     * 商品ID
     */
    private Integer prodId;

    /**
     * 库存
     */
    private Integer prodStock;

    /**
     * 预警库存
     */
    private Integer alertStock;

    /**
     * 商品颜色
     */
    private String attrColor;

    /**
     * 售价
     */
    private BigDecimal prodPrice;

    /**
     * 成本
     */
    private BigDecimal costPrice;

    /**
     * 积分
     */
    private Integer scores;

    @TableField(exist = false)
    private  Integer buyNum;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}